public class EtatFermee extends State{
public String nom;
public ouvrir() throws Exception{
throw new Exception("Operation no found");
}
public fermer() throws Exception{
throw new Exception("Operation no found");
}
public fin(){
serveur.setEtat(new EtatFin("Fin"));
}
}
